import StudentList from "../pages/students/students.js"
import Add from "../pages/students/add.js";
import Imgs from "../pages/students/images.js";
import Update from "../pages/students/update.js";

export default {
    '/student': {
        on() {
            new StudentList({el:".info-content"});
        }
    },
    '/add-student': {
        on() {
            new Add({el:".info-content"});
        }
    },
    '/student-imgs/:_id': {
        on(_id) {
            new Imgs({el:".info-content",_id});
        }
    },
    '/update': {
        on() {
            new Update({el:"#info-content"});
        }
    },
}